package com.mku.wms_service.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mku.wms_service.common.QueryPageParam;
import com.mku.wms_service.common.Response;
import com.mku.wms_service.entity.Goodstype;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author maoxx
 * @since 2024-11-22
 */
public interface IGoodstypeService extends IService<Goodstype> {

    Response<Page<Goodstype>> listPage(QueryPageParam qp2);

    Response<Boolean> add(Goodstype goodstype);

    Response<Boolean> delete(Integer id);

    Response<List<Goodstype>> listAll();
}
